package com.shaw.workrecord.pojo.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author jh.jiang
 * date 2022-08-28
 * description
 */
@Data
@ApiModel("注册请求对象")
public class RegisterRequest {

    @ApiModelProperty("账号")
    @NotNull
    private String account;

    @ApiModelProperty("密码")
    @NotNull
    private String password;

    @ApiModelProperty("昵称")
    private String nickName;
}
